package com.itheima.d7_interface;

import com.itheima.d4_abstract.A;

public class Test {
    public static void main(String[] args) {
        System.out.println(A.getScoolName());
        //接口无法创建对象，抽象类可以创建对象
        /*A a = new A();
        a.setName("张三");
        System.out.println(a.getName());*/

        D d = new D();

    }
}
